package onlineslideshow.test;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import onlineslideshow.ftp.ftpSettings;

/**
 *
 * @author alex.nebel
 */
public class testFtpSettings {


    public static void main(String[] args) {
        try {
            ftpSettings conf = new ftpSettings("test2");
            conf.setHost("192.168.0.10");
            conf.setPass("testset");
            conf.writeFtpSettings();
            conf = null;
            conf = new ftpSettings("test2");
            System.out.println(conf.getHost() + ":" + conf.getPass());
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
}
